Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |mul

std/ops/num::|mul


Usage

|mul<N>(a, b)

Generics

◻ N: Mul

Parameters

↳ a: N
↳ b: N

Return

N


Multiply a and b

This function is infaillible but may overflow if a × b is out of bounds for the data type.